Component({
  options: {
    addGlobalClass: true,
  },
  properties: {
    order: {
      type: Object,
      value: {
        id: 0
      },
    },
    date: {
      type: String,
      value: '',
    },
  },
  data: {},
  methods: {
    onOrderBtnTap(e) {
      this.triggerEvent('submit', {
        id: this.properties?.order.id,
        date: this.properties?.date
      });
    }
  },
});